package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.OperatePlan;
import com.xjscrm.console.param.operatePlan.OperatePlanQuery;
import com.xjscrm.console.vo.OperatePlanVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OperatePlanMapper {
    int insertOperatePlan(OperatePlan operatePlan);

    List<OperatePlanVo> getOperatePlanList(OperatePlanQuery operatePlanQuery);

    OperatePlan getOperatePlanById(@Param("id") Long id, @Param("merId") Long merId);

    void updateOperatePlan(OperatePlan operatePlan);

    int deleOperatePlanById(@Param("id") Long id, @Param("merId") Long merId);

}
